* {
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    height: 100px;
    background-color: #ccc;
    font-size: 30px;
    text-align: center;
    line-height: 100px;
    color: #fff;
}

main {
    width: 1200px;
    height: 500px;
    background-color: orange;
    margin: 0 auto;
    display: flex;
}

main div:nth-child(1) {
    width: 50%;
    background-color: #fff;
}

main div:nth-child(1) .zoom {
    width: 350px;
    height: 400px;
    background-color: #ccc;
    margin: 0 auto;
    margin-top: 50px;
}

.magnifier {
    position: relative;
    top: -400px;
    left: 500px;
    width: 350px !important;
    height: 340px;
    display: none;
    overflow: hidden;
    background-color: red !important;
}

.magnifier>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 700px;
    height: 680px;
}

main div:nth-child(1) .zoom .pic {
    position: relative;
    width: 350px;
    height: 340px;
    background-color: red;
    cursor: pointer;
}

main div:nth-child(1) .zoom .pic .mask {
    position: absolute;
    top: 0;
    left: 0px;
    width: 175px;
    height: 175px;
    background-color: pink;
    cursor: move;
    opacity: 0.5;
    display: none;
}

main div:nth-child(1) .zoom .pic img {
    width: 100%;
    height: 100%;
}

main div:nth-child(1) .zoom ul {
    display: flex;
}

main div:nth-child(1) .zoom ul li {
    list-style: none;
    width: 20%;
    height: 60px;
    border-right: 1px solid orange;
    font-size: 20px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
}

main div:nth-child(1) .zoom ul li img {
    width: 100%;
    height: 100%;
}

main div:nth-child(1) .zoom ul li:last-child {
    border: none;
}

main div:nth-child(2) {
    width: 50%;
    background-color: #999;
}

.details {
    width: 1200px;
    min-height: 200px;
    margin: 0 auto;
}
.right .title{
    width: 510px;
    font-weight: 400;
    margin-top: 40px;
    background-color: #ccc;
}
.right .price{
    width: 510px;
    font-size: 30px;
    color: coral;
    margin-top: 40px;
    background-color: #ccc;
}
.right .pei_song{
    width: 510px;
    height: 148px;
    margin-top: 40px;
}
.right .btn{
    width: 300px;
    height: 60px;
    margin-top: 40px;
    border-radius: 5px;
    background-color: #27ba9b;
    color: #fff;
    font-size: 30px;
    border: none;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
}